package com.jp.kefu.web.message.media;

/**
 * @author lijin
 */
public class VoiceMessage extends MediaMessage {
    //语音格式，如amr，speex等
    private String Format;

    //语音识别结果，UTF8编码
    //开通语音识别后，用户每次发送语音给公众号时，微信会在推送的语音消息XML数据包中，增加一个Recongnition字段
    private String Recognition;

    public String getFormat() {
	   return Format;
    }

    public VoiceMessage setFormat(String format) {
	   Format = format;
	   return this;
    }

    public String getRecognition() {
	   return Recognition;
    }

    public VoiceMessage setRecognition(String recognition) {
	   Recognition = recognition;
	   return this;
    }
}
